package com.manager.devicemanager.service.impl;

import com.manager.devicemanager.entity.ComponentRecordTemplate;
import com.manager.devicemanager.mapper.ComponentRecordTemplateMapper;
import com.manager.devicemanager.service.IComponentRecordTemplateService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import java.util.Collection;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
@Service
public class ComponentRecordTemplateServiceImpl extends ServiceImpl<ComponentRecordTemplateMapper, ComponentRecordTemplate> implements IComponentRecordTemplateService {

    @Override
    public void batchInsertOnDuplicateKeyUpdate(Collection<ComponentRecordTemplate> list) {
        baseMapper.batchInsertOnDuplicateKeyUpdate(list);
    }

    @Override
    public void batchInsertOnDuplicateKeyIgnore(Collection<ComponentRecordTemplate> list) {
        baseMapper.batchInsertOnDuplicateKeyIgnore(list);
    }

}
